atsc_table_mgt_init

@brief Initializes and parses MGT table @ingroup dvb_table

@param parms struct dvb_v5_fe_parms pointer to the opened device @param buf buffer containing the MGT raw data @param buflen length of the buffer @param table pointer to struct atsc_table_mgt to be allocated and filled

This function allocates an ATSC MGT table and fills the fields inside the struct. It also makes sure that all fields will follow the CPU endianness. Due to that, the content of the buffer may change.

@return On success, it returns the size of the allocated struct. A negative value indicates an error.

extern (C)
ssize_t
atsc_table_mgt_init
(,
const(ubyte)* buf
,
ssize_t buflen
,)

Meta